// import './a.css'
// import './b.scss'
// import './c.less'
// import './d.stylus'
import '@/d'
// import '@babel/polyfill'
console.log('100')

fetch('/api/pro/list')
  .then(res => res.json())
  .then(res => {
    console.log(res.data)
  })
function fn(){
  console.log('11111')
}
@fn
class Test {
  state = { a: 1 }
  render () {
    return 100 + this.state.a
  }
}

const test = new Test()

console.log(test.render())

const obj = { a: 1 }
const newObj = Object.assign({}, obj, { b: 2 })

console.log(newObj)